package com.sh.data.engine.domain.datadev.flink.model.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author：jingchen.hr
 * @descripion:
 * @data:6/24/20225:37 PM
 */
@Data
//@ApiModel
public class SaveFlinkTaskNodeParam {

    //  @ApiModelProperty(value = "开发模式 1-脚本模式 2-向导模式")
    @NotNull
    private Integer devType;

    //  @ApiModelProperty(value = "任务名称")
    @NotBlank(message = "任务名称不能为空")
    private String name;

    //  @ApiModelProperty(value = "任务类型 1-FlinkSQL 3-Flink")
    @NotNull
    private Integer nodeType;

    //  @ApiModelProperty(value = "pid")
    private Long pid;

    //  @ApiModelProperty(value = "描述")
    private String remark;

    private Long nodeId;

    //  @ApiModelProperty(value = "资源节点id")
    private Long resourceNodeId;

    //  @ApiModelProperty(value = "mainClass路径")
    private String mainClass;
}
